import request from '../utils/request'
interface loginData{
  username:string,
  password:string
}
export function login(data:loginData){
  return request({
    url:"/login",
    method:"post",
    data
  })
}

//商品列表
export function goodsList(){
  return request({
    url:"/getGoodsList",
    method:"get"
  })
}